﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="frmTimKiemThuoc.aspx.cs" Inherits="frmTimKiemThuoc" %>
<%@ Register Src="TestPhanTrang/PagingControl.ascx" TagName="PagingControl" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    
    
<table cellpadding="0" cellspacing="0" width="100%" border="0">
                <tr>
                    <td>
                        <a href='frmTimKiemThuoc.aspx'>Refresh</a>
                        <asp:Label ID="lblDisplay" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <uc1:PagingControl ID="Paging1" OnPaging_Click="Paging_Click" FirstString="<< First" LastString=" Last >>" NextString="Next >" PrevString="< Prev" TotalNumberPaging="5"  runat="server" />
                    </td>
                </tr>
                <tr>
                    <td>
        <asp:GridView ID="GridView1" runat="server" CaptionAlign="Left" CellPadding="4" 
            ForeColor="#333333" GridLines="None" HorizontalAlign="Center" Width="100%" 
             AutoGenerateColumns="true" AllowPaging="true"
                                            PageSize="10" PagerSettings-Visible="false"
            >
            <FooterStyle ForeColor="White" HorizontalAlign="Center" 
                VerticalAlign="Middle" BackColor="#507CD1" Font-Bold="True" />
            <RowStyle Height="10px" BackColor="#EFF3FB" />
            <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
            <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
            <HeaderStyle BackColor="#507CD1" BorderColor="#FFCCFF" Width="100px" 
                Font-Bold="True" ForeColor="White" />
            <EditRowStyle BackColor="#2461BF" />
            <AlternatingRowStyle BackColor="White" />
        </asp:GridView>                    
                    </td>
                </tr>
                <tr>
                    <td>
                    </td>
                </tr>
            </table>        
            
            
    <div>
    
        <br />
    
    <table border="0" width="0" align="left" style="height: 67px" >
    
    <tr align="left">
        <td >
            <asp:Label ID="Label2" runat="server"  BackColor="AliceBlue" Text="TÌM KIẾM DANH MỤC THUỐC"></asp:Label>
        </td>        
    </tr>    
    <tr bgcolor="#99ccff" align="center">
        <td bgcolor="#99ccff">
            <asp:Label ID="Label1" runat="server" Text="Từ khóa:"></asp:Label>
        </td>
        <td width="20">
        
        </td>
        <td>
            <asp:Label ID="Label4" runat="server" Text="Tìm theo:"></asp:Label>
        </td>
    </tr>
        <tr height ="30">        
        <td>
            <asp:TextBox ID="txttukhoa" runat="server" Width="180px"></asp:TextBox>
        </td>
        <td width="20">
        <%--TextBox ID="txtdoituong" runat="server" Width="180px"></asp:TextBox> --%>
        </td>
        <td width="120">
        <asp:DropDownList ID="drltimtheo" runat="server" Width="180px" Height="22px">
            <asp:ListItem Text="Tất cả" Value="1"></asp:ListItem>
            <asp:ListItem Text="Mã hồ sơ" Value="2"></asp:ListItem>
            <asp:ListItem Text="Tên hoạt chất" Value="3"></asp:ListItem>
            <asp:ListItem Text="Tên thương phẩm" Value="4"></asp:ListItem>
            <asp:ListItem Text="Tên đối tượng phòng trừ" Value="5"></asp:ListItem>
        </asp:DropDownList>
        </td>
        <td width="20">
        <%--TextBox ID="txtdoituong" runat="server" Width="180px"></asp:TextBox> --%>
        </td>
        <td>
        <asp:Button ID="btntimkiem" runat="server" Text="Tìm kiếm" Height="25px" 
                onclick="btntimkiem_Click" />
        </td>
        </tr>
        </table>                
        <asp:Label ID="Err" runat="server" BackColor="White" ForeColor="#CC3300"></asp:Label>                   
        <br />                     
    </div>            
</asp:Content>
